package com.example.rotateimageview.marquee

import android.content.Context
import android.util.AttributeSet
import android.util.Log
import android.view.Choreographer
import androidx.appcompat.widget.AppCompatTextView

class MarqueeTextView2 @JvmOverloads constructor(
    context: Context,
    attributeSet: AttributeSet?=null
) : AppCompatTextView(context,attributeSet) {

    private val mChoreographer = Choreographer.getInstance()

    init {
        mChoreographer.postFrameCallback {
           Log.i("---","${it}")
        }
    }
}